package com.gxuwz.zjh.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.ibatis.type.Alias;

/**
 * 表
 */
@Data
@Alias("Course") //别名
public class Course extends Thing{

    @ApiModelProperty(value = "名称")
    private String courseId;

    @ApiModelProperty(value = "班号")
    private String classId;

    @ApiModelProperty(value = "名称")
    private String courseName;

    @ApiModelProperty(value = "年")
    private String year;

    @ApiModelProperty(value = "期")
    private String term;

    @ApiModelProperty(value = "时")
    private String hour;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    @Override
    public String getId() {
        return this.courseId;
    }

    @Override
    public void setId(String id) {
        this.courseId = id;
    }

    @Override
    public String toString() {
        return "course";
    }

}
